import { createApp } from 'vue'
import './style.css'
import 'element-plus/dist/index.css'
import './assets/fonts/iconfont.css';
import '@wangeditor/editor/dist/css/style.css'
import App from './App.vue'
import router from './router'
import './permission'
 
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

import {createPinia} from 'pinia'

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia= createPinia();
pinia.use(piniaPluginPersistedstate);
 

// 定义特性标志
window.__VUE_PROD_DEVTOOLS__ = false;
window.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = false;

const app=createApp(App);
app.use(ElementPlus, {locale: zhCn,})
app.use(router);
app.use(pinia);
app.mount('#app');
